var express = require('express');
var router = express.Router();
const classService = require('../service/classService');

router.get('/all',async function(req,res){
     let data = await classService.findAll();
     res.send(data);
});

module.exports = router;